package com.example.cstr.service;

import com.example.cstr.entity.ExchangeRules;
import com.example.cstr.entity.Message;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface ExchangeRulesService {


    int deleteByPrimaryKey(Integer erId);

    int insert(ExchangeRules record);

    int insertSelective(ExchangeRules record);

    ExchangeRules selectByPrimaryKey(Integer erId);

    int updateByPrimaryKeySelective(ExchangeRules record);

    int updateByPrimaryKey(ExchangeRules record);

    List<ExchangeRules> selectAllExchangeRules();

    Message PagingSearch(@RequestParam Integer pageNum, @RequestParam Integer size);

    List<ExchangeRules> selectByEr_etp_id(Integer er_etp_id);
}









